package com.xingchi.tornado.dict.model.dto;

import com.xingchi.tornado.model.BaseDTO;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author xingchi
 * @date 2024-05-20 22:34
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "DictDTO", description = "")
public class DictDTO extends BaseDTO {

    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    private String name;

    /**
     * 字典分组
     */
    @Schema(description = "字典分组")
    private String group;

    /**
     * 字典值
     */
    @Schema(description = "字典值")
    private Integer code;

    /**
     * 字典描述
     */
    @Schema(description = "字典描述")
    private String desc;

    /**
     * 可见性
     */
    @Schema(description = "可见性")
    private Integer visible;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
